home *** CD-ROM | disk | FTP | other *** search
/ Freaks Macintosh Archive / Freaks Macintosh Archive.bin / Freaks Macintosh Archives / Newton / pt100-.98.sit / PT100v98 / readme.txt < prev    next >
Text File  |  1997-05-12  |  22KB  |  590 lines

  1. 0.0 Introduction and History
  2.  
  3. They say necessity is the mother of invention, and this piece of code
  4. is no exception.  Several months ago, after reflecting on the success
  5. of YAZI, George and I started talking about how we would like to use
  6. our Newtons.  The bottom line seemed to be that we wanted to be able
  7. to use them as "wee little computers" that we could take with us
  8. anywhere. Since we spend most of our time playing on Un*x boxes, it
  9. seems natural to use VT100 as our standard interface to the various
  10. tools we use.
  11.  
  12. Unfortunately, we were underwhelmed (if that's a word) with the
  13. available products.  The biggest problem is that they were far too
  14. slow -- they would timeout before we could login!  The other problem
  15. was that the other products just cost too much.
  16.  
  17. So, instead, we spent several months writing our own!
  18.  
  19. We designed PT100 for ourselves: to provide basic VT100 support in a
  20. small, fast, inexpensive product. Non-critical features have been
  21. excluded.  If you feel something important is missing, please drop us
  22. a line so we can discuss the new feature.
  23.  
  24. As you read through the following documentation, realize that we
  25. originally designed this product for ourselves, to solve problems we
  26. were having, and have more recently begun to support various options
  27. other folks may want.  If something critical to your application is
  28. missing, please drop us a line so we can discuss how to remedy the
  29. oversight.
  30.  
  31.  
  32.  
  33. 1.0 About PT100
  34.  
  35. PT100 is a VT100 emulator for the Newton, capable of Modem, Direct
  36. Serial and Telnet sessions.  VT100 emulation is the most common
  37. text-based interface on the Internet, as well as the standard used by
  38. BBSes, corporate systems, various email mechanisms and many online
  39. services.  In addition, it is useful for many types of straight serial
  40. connectivity.
  41.  
  42. PT100 is the only VT100 emulator on the Newton capable of providing
  43. Telnet capability with Newton Internet Enabler (NIE).  PT100 requires
  44. Newton OS 2.X and supports and takes advantage of many of the advanced
  45. features of the eMate 300 and the MP2000. .  For telnet access, an
  46. MP130, MP2000 or an eMate 300 is recommended.
  47.  
  48. PT100 ©1997 Scrawl.  All Rights Reserved.  PT100 was written by George
  49. Madrid and Sanjay Vakil.
  50.  
  51.  
  52. 2.0 Setup a Session
  53.  
  54. To set up a session, click on the info button and select Edit
  55. Sessions.  If you have not already created a session, a blank one will
  56. appear for you to edit.  You can change the session that your are
  57. editing by clicking on the Session popup.  The routing button
  58. (envelope) allows you to copy the current session, delete it, or
  59. create a new blank session.
  60.  
  61. Once you have selected the session to edit, you will need to name it,
  62. and select the Type (Modem, Direct Serial or Telnet). If you wish, you
  63. can enter your username and password to have them available for quick
  64. input.  The password will be encrypted on the Newton and will be
  65. decrypted before it is sent.  If you are paranoid, don't enter a
  66. password at all.  A password can easily be entered manually.
  67.  
  68. Based on the type of session you selected, additional options will
  69. appear, specific to the type of session. See the next sections on
  70. additional information that might be necessary.
  71.  
  72.  
  73. 2.1 Setting up a Modem Session
  74.  
  75. For a Modem Session, you will need to enter a phone number and the
  76. various modem parameters. If these are not correctly set, you may not
  77. be able to connect.  However, incorrect parameters should not damage
  78. your Newton or your modem, so you may want to experiment to get the
  79. correct values.
  80.  
  81. Reasonable values for this parameters are as follows:
  82.  
  83. Speed: the fastest rate that you modem can handle (if necessary, the
  84. modem will slow down to the speed of the service automatically)
  85.  
  86. Flow Control: Hardware
  87.  
  88. Error Correction: Selected
  89.  
  90. Data Bits / Parity / Stop Bits: Common triplets are 8N1 and 7E1
  91.  
  92. If you are unsure about the correct parameters, try contacting the
  93. service you intend to connect with to determine their suggested
  94. parameters, or experiment.
  95.  
  96.  
  97. 2.2 Setting up a Direct Serial Session
  98.  
  99. For a Direct Serial Session, you will need to set a number of serial
  100. parameters.  If these are not correctly set, you may receive garbled
  101. output, if any at all.  However, incorrect parameters should not
  102. damage your Newton or the other device, so you may to experiment to
  103. get the correct values.
  104.  
  105. Reasonable values for this parameters are as follows:
  106.  
  107. Speed: Read the manual for the device with which you are connecting.
  108. Or, if you built it yourself, you should know (:
  109.  
  110. Flow Control: Hardware if you are using a full RS232 connection,
  111. software if you only have a 2 or 3 wire connection.
  112.  
  113. Data Bits / Parity / Stop Bits: Common triplets are 8N1 and 7E1
  114.  
  115. If you are unsure about the correct parameters, try consulting the
  116. manual of the device with which you intend to connect.
  117.  
  118. In addition, you can explicitly select the serial port that you wish
  119. to use.  On current Newtons, this can involve selecting between the
  120. external serial port and the PC card slot(s).  This can be very useful
  121. if you need to connect directly to PC card devices, such as oddball
  122. cellular modems.
  123.  
  124. Astute users will note that "IR Port" appears on the list. We make no
  125. guarantees about what this will do.  We'd love to know if you get it
  126. to do something useful!
  127.  
  128.  
  129. 2.3 Setting up a Telnet Session
  130.  
  131. For a Telnet Session, you will need to select a machine name to telnet
  132. to, and a port number.  You should enter the full machine name,
  133. including the domain, for example "sanj-o-matic.mit.edu".  An IP
  134. address (for example 127.0.0.0) associated with the machine name is
  135. looked up by the Newton.  If you know the machine’s IP address, you
  136. can enter it instead of the name.
  137.  
  138. A port number is a numeric identifier of the specific TCP/IP port to
  139. which you wish to connect.  The standard port number for telnet is 23,
  140. though if you want to do cool things like getting to finger (79), smtp
  141. (25), or web (80) port, you can select that instead.
  142.  
  143. The other setup options for Telnet Sessions (phone numbers, ISP, etc.)
  144. are controlled by the Newton Internet Enabler (NIE).  Consult your NIE
  145. documentation and setup program for additional information.
  146.  
  147.  
  148. 2.4 Session Setup Tips
  149.  
  150. A new session created by using Blank Session will default to a
  151. standard set of options.
  152.  
  153. If you have already created a working session tailored to your
  154. specific modem, Newton and service combination, it may be faster to
  155. simply use Duplicate Session to create a new session.  You only need
  156. to update the options that are different, such as the username and
  157. password.
  158.  
  159. If you have differing users of the same Newton, you can create a
  160. different session for each user.  Make sure you name each session in a
  161. way that makes it apparent which user's session it is.
  162.  
  163.  
  164. 3.0 Connect to a Service
  165.  
  166. To connect to a service, tap on Connect on the status line. A slip
  167. will appear, from which you can select a session.  If you need to edit
  168. the calling slip to use a calling card or attach a prefix before
  169. dialing, click the Assist button.
  170.  
  171. Once you have selected the session you wish to connect to, press
  172. Connect on the slip.  The progress of the connection status will
  173. appear on the slip.
  174.  
  175. If you are connecting with a Telnet Session, clicking Connect will pop
  176. up the NIE slip box, in which you can select your service provider and
  177. associated phone number. Click the Connect button on the NIE slip to
  178. initiate the call.
  179.  
  180.  
  181. 4.0 Disconnect from a Service
  182.  
  183. To disconnect from a service, tap Hangup in the Action Button.  A
  184. slip will appear, showing the connection being broken, and will prompt
  185. you when the Newton is available to connect once more.
  186.  
  187. Exiting PT100 will also disconnect.  Note that you will have to
  188. disconnect before your Newton will turn off.
  189.  
  190.  
  191. 5.0 Inputing Data
  192.  
  193. There are several ways to input data in PT100.  The easiest (and
  194. default) manner is to write words onto the input line. For control
  195. codes and difficult-to-write characters, you can use an onscreen or
  196. hardware keyboard.  Finally, you can choose to have no onscreen input
  197. area at all.
  198.  
  199. To switch between the different modes, press the Keyboard icon on the
  200. status bar.
  201.  
  202.  
  203. 5.1 Using the Input Line
  204.  
  205. To use the input line, simply write what you wish to send, and press
  206. Send.  The popup diamond allows quick access to an editable set of
  207. common words.  The word you select will be appended to the input line.
  208. This list also allows you to easily send your username and password.
  209.  
  210. The size of the input line can be changed in the Prefs, available from
  211. the info button.
  212.  
  213.  
  214. 5.2 Editing the Popup List
  215.  
  216. To edit the list of words, click on the diamond and select Edit List.
  217. A slip will appear to allow you to edit individual words.
  218.  
  219. To add a new entry, write it on the input line and press Add.  To
  220. examine the list, click on Available Words.  To delete an entry,
  221. select it with Available Words and then press Delete.
  222.  
  223.  
  224. 5.3 Using the Onscreen Keyboard
  225.  
  226. To use the onscreen keyboard, select Keyboard from the Keyboard button
  227. on the status line.
  228.  
  229. Simply type on the keyboard as you normally would.  The alt key will
  230. prefix an ESC to a keystroke for Un*x users.
  231.  
  232. The QuickPicker is available (and very useful) when using the onscreen
  233. keyboard.
  234.  
  235.  
  236. 5.4 Using the Hardware Keyboard
  237.  
  238. A hardware keyboard can be used in two ways with PT100.  It can be
  239. used either to type into the input line (buffered), or to directly
  240. send characters (unbuffered).  For buffered input, simply select the
  241. input line and type away.
  242.  
  243. For unbuffered input, select Keyboard or None from the Keyboard button
  244. on the status line and type normally.  The alt key will prefix an ESC
  245. to a keystroke for Un*x users, and an ESC on its own can be created
  246. with CTRL-[.
  247.  
  248.  
  249. 5.5 Using the QuickPicker
  250.  
  251. On the status line, there is a popup diamond that allows access to
  252. common words used with the input line.  Selecting an entry from this
  253. list sends it directly to the session, without having to press Send.
  254.  
  255. The last few lines of the QuickPicker work differently than the
  256. editable ones.  After the dotted line will be the most recently sent
  257. string, either selected with the QuickPicker, or sent with the Input
  258. Line.  The next two entries will send your username or password.  Be
  259. wary -- sending a password at the wrong time will blast it to the
  260. screen.
  261.  
  262. The QuickPicker is particularly handy if you have the input area
  263. minimized to allow full-screen viewing.
  264.  
  265.  
  266. 5.6 Sending Returns with the Send Button
  267.  
  268. After you write something on the input line, you can choose to have it
  269. sent with a carriage return appended or without .
  270.  
  271. To toggle between these two modes, press the Return arrow next to
  272. Send.  When it is lit a carriage return will be sent with both the
  273. QuickPicker and the input line.
  274.  
  275.  
  276. 5.7 Input Tips
  277.  
  278. Since it is quick and easy to change the words in the QuickPicker, it
  279. makes sense to modify it regularly to make it useful from session to
  280. session.  If you use a command regularly, write it into the input
  281. line, press Edit Sessions and then Add.  In a few short taps you've
  282. added a new entry to the QuickPicker.
  283.  
  284. For many users, having quick access to a space character is useful.
  285. Adding this to the QuickPicker looks odd (it's an empty line!), but
  286. can save you from pulling up the keyboard regularly.
  287.  
  288.  
  289. 5.8 Advanced Input: Parsing
  290.  
  291. Text input can be parsed to allow control characters to be sent
  292. without using the keyboard. A circumflex indicates that a control
  293. character should be sent, so that ^g will send the Bell, and 
  294. ^[ will send ESC.  This can be very useful for sending control
  295. codes when you don't have keyboard connected.
  296.  
  297. Text input that contains material inside double-quotes will ignore
  298. anything outside the quotes.  This can be very useful, as it allows
  299. you to label commands that contain fancy control information:
  300.  
  301. save: "^x^s"
  302. load: "^x^f"
  303.  
  304. To circumvent these behaviors, use a backslash to escape the
  305. character:
  306.  
  307. - to send a ", type \"
  308. - to send a ^, type \^
  309. - to send a \, type \\
  310.  
  311. To turn on this parsing, select "Parse Output" in the preferences.
  312. This will also place an extra segment in the "Send Button", which allows
  313. quick toggling of this feature.
  314.  
  315.  
  316.  
  317. 5.9 Advanced Input: Send Break
  318.  
  319. To send a "Break", tap on Send Break in the Action Button.  The duration of
  320. the Break signal can be selected in Preferences.
  321.  
  322.  
  323.  
  324. 6.0 Move Around the Screen
  325.  
  326. In many cases, the Newton screen (especially in portrait orientation)
  327. is too small to fit all the text on the screen at one time.  PT100
  328. overcomes this problem by showing a portion and allowing you to move
  329. the text to see offscreen information.
  330.  
  331. To move text you can either use the onscreen compass (if it is
  332. visible) or you can click on the text and "drag" it around.  Using the
  333. compass moves the screen in set increments:  eight characters or one
  334. line at a time.
  335.  
  336. If you grow tired of moving around the screen, you can try switching
  337. to a smaller font, or rotating the screen.
  338.  
  339.  
  340. 7.0 Change the Font or Screen Size
  341.  
  342. To change the currently displayed font, select Prefs from the info
  343. button.  You can select from any of the installed monospaced fonts and
  344. sizes.  Note that certain ill-formed monospaced fonts may not display
  345. information correctly in bold.  The Minico font that came with PT100
  346. is specially designed to allow accurate output.
  347.  
  348. While easier on the eyes, larger fonts may require you to move the
  349. screen around to see all the information.
  350.  
  351. You can also select the number of input lines available, screen width
  352. and screen height.  Changing the width and height may cause odd
  353. wrapping if you select less than the standard 80x24.  If you have the
  354. ability to tell the computer on the other end that you have changed
  355. the screen size, do so before resizing the PT100 screen.
  356.  
  357.  
  358. 8.0 Save Output
  359.  
  360. To save output is to use the Copy to Notes entry in the info button.
  361. This will copy the current screen to a new unfiled note in the Notepad
  362. preserving the font, but not attributes such as inverse, bold and
  363. underline.  If you are scrolled back, the page that you see will be
  364. stored.
  365.  
  366.  
  367. 9.0 Tweak Performance
  368.  
  369. Comms Update determines how fast a non-terminated line will display.
  370. The lower you set this, the faster the Newton looks for incomplete
  371. lines.  A value that is too low may slow your Newton down.
  372.  
  373. Screen Update determines how quickly the Newton will refresh the
  374. screen with new information. Too low a value may slow your Newton down
  375. as it refreshes too often.
  376.  
  377.  
  378. 10.0 About PT100’s Cripple
  379.  
  380. PT100 is crippled shareware.  Unregistered versions of PT100 will only
  381. be allowed five minutes of connection time per session. After a
  382. warning at the four-minute mark, the application will hang up at the
  383. five-minute mark. You may redial and start another session.
  384.  
  385. If you intend to use an unregistered version of PT100 in a critical
  386. situation, please be sure to save your work. Better yet, if you're
  387. using it for critical work, pay for it.
  388.  
  389. 11.0 Register PT100
  390.  
  391. To register PT100, send $25 to:
  392.  
  393. Sarah Buta c/o Scrawl 
  394. 86 Norfolk St., Apt. 4 
  395. Cambridge, MA 
  396. 02139-2652
  397.  
  398. Be sure to include the spelling of your name as it appears on your
  399. Newton.  You will receive a registration string by email. If you do
  400. not have email, send a SASE. Alternately, you can use Kagi with Flash
  401. Sheridan’s Register.
  402.  
  403.  
  404. 12.0 Register PT100 via WWW Kagi
  405.  
  406. You can Register PT100 directly over the WWW by using Kagi. For more
  407. information about Kagi, visit: 
  408.  
  409. <http://www.kagi.com>
  410.  
  411. You can register PT100 directly over the Web at:
  412.  
  413. <http://kagi.direct.net/cgi-bin/register1.cgi?JV>
  414.  
  415.  
  416. 13.0 Contact Scrawl
  417.  
  418. You can visit Scrawl at: <http://www.scrawlsoft.com> or send email to:
  419. <help@scrawlsoft.com>
  420.  
  421.  
  422. 14.0 Frequently Asked Questions
  423.  
  424.  
  425. Q: Will you support 1.X Newtons?
  426.  
  427. A: It is unlikely that PT100 will ever support 1.X machines. Many of
  428. the tools used to get maximum performance out of the system are
  429. 2.0-specific.  You might try looking at at some of the other emulators
  430. available for the Newton.
  431.  
  432. Q: What about support for VT220, Tek and other emulators?
  433.  
  434. A: At the moment PT100 is highly focused on speedy and accurate VT100
  435. emulation, because it is the largest common denominator for text
  436. interfaces.  If another interface becomes necessary and has a large
  437. enough market, it will be considered.
  438.  
  439. Q: My modem is not directly Newton supported and needs special setup
  440. strings.  Can I use PT100 on it?
  441.  
  442. A: You can certainly use it as a serial device by entering your own
  443. setup strings.  Fundamentally, however, you should use a supported
  444. modem for your Newton.  It will make you life much easier.
  445.  
  446. Q: What about login scripts?
  447.  
  448. A: Support for creating login scripts is on the list of features for
  449. upcoming releases.  Please write to us if this is a key feature for
  450. your use of PT100.
  451.  
  452. Q: Odd things are happening when I use certain programs. How complete
  453. is the VT100 emulation?
  454.  
  455. A: As mentioned earlier, PT100 was designed as tool for personal use.
  456. As such, we have implemented VT100 emulation elements as we require
  457. them, and have the ability to test them.  If certain elements are
  458. missing, it may be because those elements were not used by the
  459. programs we used to test it.  If a particular emulation problem is
  460. repeatable, and shows up in a program which you use, please write to
  461. us, and we'll look into updating the emulation.  We hope, at some
  462. future date, to have complete VT100 emulation in PT100, but expect the
  463. vast majority of people can use it comfortably in the interim.
  464.  
  465. Q: Can I scroll back and see stuff that went off the top of the
  466. screen?
  467.  
  468. A: Yep.  Turn the Scroll Back to some number greater than zero.  Then use
  469. the up and down arrows (not the compass) to scroll back.
  470.  
  471. Q: What about support for the MP2000 and the eMate 300?
  472.  
  473. A: PT100 has been casually tested on both these machines, and it works
  474. flawlessly.  On the MP2000, the application runs about 8x faster; on
  475. the eMate about 3x faster.
  476.  
  477.  
  478. Q: I need a specific vertical market application that will use a
  479. textual front end.  Are you guys interested in extra work?
  480.  
  481. A: Contact us, we just might be!
  482.  
  483. Q: How about multiple simultaneous telnet sessions?
  484.  
  485. A: Jeepers!  You want it all!  In good time we hope to have this
  486. capability, but for right now, chill out and enjoy what PT100 does do!
  487.  
  488.  
  489. 15.0 Trouble Shooting
  490.  
  491. Problem: PT100 doesn't work!
  492.  
  493. Solution: Does too!  Seriously, check to make sure that all your
  494. cables are plugged in, and your PC card modem is installed, and locked
  495. into the card slot.  Check that your modem is plugged into the phone
  496. line and that the line is working.
  497.  
  498. Problem: PT100 still doesn't work!
  499.  
  500. Solution: Does anything on the Newton work with your modem? If, when
  501. you insert the PC card, the Newton doesn't acknowledge that you did
  502. so, you're out of luck.  If the Newton recognizes that a
  503. communications card has been inserted, try to dial a number with the
  504. Calls applicaton or try to send a fax.  If this fails, you do not have
  505. the correct Modem Setup for your modem.  Check the Apple web pages
  506. <http://devworld.apple.com/dev/newton/commsoln/modsetup.html> for the
  507. list of supported modems and links to Modem Setup files.  Alternately,
  508. you can try to roll your own Modem Setup by using ModemMod from DMP
  509. Systems <http://www.netacc.net/~dmpsyst/>.  Be sure to pay the
  510. shareware fee if you find it useful.
  511.  
  512. Problem: My modem doesn't work!
  513.  
  514. Solution: Certain older modems, notably the Compaq 24/96 modem, provide 
  515. only marginal Newton support. Checking the Marginal Modem box will let 
  516. PT100 work in many situations, though not all. For example, 7 Data Bits 
  517. will not work with this option enabled
  518.  
  519. We strongly discourage the use of this option. Buy a new modem.
  520.  
  521. Problem: I'm not getting VT100 emulation.
  522.  
  523. Solution:  Make sure that you have have told the server the terminal
  524. type that you are using, i.e. VT100.
  525.  
  526. Problem: PT100 connects for a few seconds, then disconnects, sometimes
  527. with a "I/O Buffer Overflow" error.
  528.  
  529. Solution: Check to make sure your Modem Setup is correct. Also verify
  530. that you have some sort of flow control (either software or hardware
  531. enabled)
  532.  
  533. Problem: I get garbage after I connect.
  534.  
  535. Solution: Try turning on error correction.  New, high speed modems are
  536. pushing the limits of current analogue phone lines, leading to noisy
  537. connection.  Error correction can help a great deal.  Next, make sure
  538. that you have the modem or serial parameters set correctly.
  539.  
  540. Problem: Telnet doesn't work on my MP120.
  541.  
  542. Solution:  As with all NIE related software, using Telnet on an MP120
  543. is tricky at best.  Try freezing, or erasing everything you can.  Try
  544. resetting or rebooting your Newton. We're working very hard to get
  545. this working (since we only own MP120s) but it's difficult.  Don't
  546. hold your breath. Enjoy great shell access instead!
  547.  
  548. Problem: I can't see all of the text on the screen.
  549.  
  550. Solution:  Try scrolling around with the compass, setting a smaller
  551. font size, or minimizing the input area by selecting None from the
  552. Keyboard button.  You can also make the input line smaller.
  553.  
  554. Problem: There don't seem to be any bold characters in the 9 point
  555. Minico font.
  556.  
  557. Solution:  There aren't.  With only 3 pixels to work in, a bold 9
  558. point font would be unreadable.  If you need to see bold, look at the
  559. text in 10 point.
  560.  
  561. Problem:  My registration string wasn't accepted.
  562.  
  563. Solution: Please recheck it and try again.  Make sure that Os and 0s,
  564. ls, 1s and Is are not begin confused.  Verify that the name you sent
  565. us is the same one in the "Owner Info" on your Newton.  If you have
  566. multiple owner cards, try sending us your Newton Serial Code (which
  567. appears in the About Box).
  568.  
  569. Problem:  Weird characters like "[5;c" sometimes appear on my screen.
  570.  
  571. Solution: Congratulations!  You've found an oddball VT100 code. Please
  572. send us mail detailing how you caused this problem and win our undying
  573. gratitude, as well as a witty reply.  The exact text of the garbage
  574. would be useful as well.
  575.  
  576. Problem:  When I dial into a BBS, I don't get nice line drawings, but
  577. a bunch of lowercase letters.
  578.  
  579. Solution:  The font set required by ANSI compliant BBSes is not yet
  580. completely supported in Minico.  We're working with the designer of
  581. Minico (Michael Peay) to complete the set in all of the used font
  582. sizes.
  583.  
  584. Problem:  My hardware keyboard isn't working.
  585.  
  586. Solution:  Your keyboard needs to be plugged into your Newton on
  587. powerup in order to be recognized.  Try turning your Newton on and
  588. off.  In some cases, selecting Input Line, and then None from the
  589. Keyboard button may solve problems.
  590.